home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-02 | 1.2 KB | 38 lines | [TEXT/GEOL] |
- Item 2242723 2-March-90 17:38PST
-
- From: MOOF Rollin, Keith A
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: RE>Popup menu name length
-
- Attn: Stat-Ease, Robert Altman,PRT
- SentBy: Keith Rollin
- Reply to: RE>Popup menu name length
- Robert,
-
- If you are creating your popups with 'view' resources, you set the width of
- the popup label by using the correct value in the "Item left offset" field. In
- the ViewTypes.r file, this is defined by the line that looks like:
-
- /* Item left offset */ integer
-
- and corresponds to the last number you specify in your Popup view
- specification. For example, here is a line from DemoDialogs that sets this
- field to 50:
-
- Popup { "", noAdornment, notSizeable, notDimmed, notHilited,
- doesntDismiss, noInset, systemFont, kParityPopup, 1, 50 }
-
- If you are creating views procedurally, you pass the offset as the last
- parameter to IPopup (as "itsItemOffset").
-
- So how do you know that 50 is the right value? Trial and error... This is
- something we might want to look at in future versions of MacApp.
-
- - Keith Rollin
- - Apple Developer Technical Support
-
-
-
-